package com.example.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RepayRecord {
    private Integer id;

    private Integer borrowId;

    private Integer periodsNum;

    private BigDecimal repayInterest;

    private BigDecimal repayMoney;

    private Date repayTime;

    private Date realRepayTime;

    private Integer status;

    private BigDecimal totalMoney;

    private Integer count;

    private Integer isCheck;

    private BigDecimal checkMoney;

    public RepayRecord(Integer id, Integer borrowId, Integer periodsNum, BigDecimal repayInterest, BigDecimal repayMoney, Date repayTime, Date realRepayTime, Integer status, Integer isCheck) {
        this.id = id;
        this.borrowId = borrowId;
        this.periodsNum = periodsNum;
        this.repayInterest = repayInterest;
        this.repayMoney = repayMoney;
        this.repayTime = repayTime;
        this.realRepayTime = realRepayTime;
        this.status = status;
        this.isCheck = isCheck;

    }
}
